package st.trade;

public class TradeResult {

	public final static TradeResult OK;
	// public final static TradeResult FAIL;
	public final static TradeResult NO_MONEY;
	public final static TradeResult NO_STK;
	static {
		OK = new TradeResult("交易成功");
		// FAIL = new TradeResult("交易失敗");
		NO_MONEY = new TradeResult("沒錢了");
		NO_STK = new TradeResult("沒貨了");
	}
	private String msg;

	private TradeResult(String msg) {
		this.msg = msg;
	}

	public String toString() {
		return this.msg;
	}

}
